package com.alcloud.springplus.service;

import com.alcloud.springplus.base.GenericService;
import com.alcloud.springplus.domain.Dict;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

/**
 * @className: DictService
 * @description: 数据字典Service 接口
 * @author: AllG
 * @createDate: 2018/12/4 12:00
 * @updateRemark: 更新说明
 */
public interface DictService extends GenericService<Dict,Long> {

    /**
     * @method  findAllWithChildren
     * @description 查询补充方法，查询分页的同时返回附带的子集合。注意此方法子集合不适合太多。
     * @date: 2018/12/11 14:09
     * @author: AllG
     * @param params
     * @param pageable
     * @return org.springframework.data.domain.Page<com.alcloud.springplus.dto.Dict>
     */
    public Page<Dict> findAllWithChildren(Map<String, String[]> params, Pageable pageable);
}
